'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const store = db.collection("store");
	let res = await store.doc(event._id).update({
		"tel": event.tel,
		"logo": event.logo,
		"name": event.name,
		"address": event.address,
		"bread_type": event.bread_type,
		"drink_type": event.drink_type,
		"meal_type": event.meal_type,
	});
	return res;
};